package com.project.bean;

import java.time.LocalDate;

public class LogBean {
    private int  id;
    private LocalDate data = LocalDate.now();
    private String content;

    public LogBean(LocalDate data, String content) {
        this.data = data;
        this.content = content;
    }

    public LogBean(String content) {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public LocalDate getData() {
        return data;
    }

    public void setData(LocalDate data) {
        this.data = data;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "LogBean{" +
                "id=" + id +
                ", data=" + data +
                ", content='" + content + '\'' +
                '}';
    }
}
